package org.example.erpapiservicespringpgimpl.mapper;

import org.example.erpapicommon.model.SimpleSupplier;
import org.example.erpapicommon.model.Supplier;
import org.example.erpapicommon.model.TSupplier;
import org.example.erpapiservicespringpgimpl.entity.SupplierEntity;

import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface SupplierMapper {
    List<SimpleSupplier> fromSimpleListEntity  (List<SupplierEntity> entities);
    List<Supplier> fromListEntity  (List<SupplierEntity> entities);
}
